Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 2 - Shape Objects / Shape Objects Reference
Functions / Manipulating Shape Object Properties


GXGetShapeFill

You can use the GXGetShapeFill function to retrieve the fill property of a shape object.

gxShapeFill GXGetShapeFill(gxShape source);
source
A reference to the shape whose fill property you want to retrieve.
function result
The fill of the source shape.
ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
shape_is_nil 
SEE ALSO
Shape fills are described in the section "Shape Fill" beginning on page 2-13.

To assign a fill to a shape object, use the GXSetShapeFill function, described in the next section.

For more information on shape fill as it applies to geometric shapes, see the geometric shapes chapter of Inside Macintosh: QuickDraw GX Graphics. For more information on shape fill as it applies to typographic shapes, see the typographic shapes chapter of Inside Macintosh: QuickDraw GX Typography.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996